package com.kinghunt.misp.dal.dao.userx;

import com.kinghunt.misp.dal.model.userx.PermissionDO;

import java.util.List;

/**
* 权限
* Created by Mybatis Generator on 2023/07/04
*/
public interface PermissionDAO {
    int deleteByPrimaryKey(Long id);

    int insert(PermissionDO record);

    int insertSelective(PermissionDO record);

    PermissionDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PermissionDO record);

    int updateByPrimaryKey(PermissionDO record);

    List<PermissionDO> selectByAppCode(String appCode);

    List<PermissionDO> selectByIds(List<Long> ids);
}